package cn.iocoder.lw.module.core.controller.admin.workorder.vo.workorder;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import jakarta.validation.constraints.NotNull;

@Schema(description = "管理后台 - 工单派单 Request VO")
@Data
public class CoreWorkOrderAssignReqVO {

    @Schema(description = "工单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "工单编号不能为空")
    private Long id;

    @Schema(description = "接单人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12345")
    @NotNull(message = "接单人ID不能为空")
    private Long assigneeId;

    @Schema(description = "接单人电话", example = "13888888888")
    private String assigneePhone;

    @Schema(description = "接单人姓名", example = "张师傅")
    private String assigneeName;

}